-- GENERATED SPELL FOR [Elder Brown Bear] --


function spell0_17348(pUnit, Event) --@Swipe,n/a--
pUnit:FullCastSpellOnTarget(31279,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17348', 525, 1)
end

function Sorts_17348(pUnit, Event)
local choix_sorts_17348 = math.random(0, 0)
if choix_sorts_17348 == 0 then
pUnit:RegisterEvent('spell0_17348', 1, 1)
end
end

function mob17348_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17348', math.random(1500, 3000), 1)
end

function mob17348_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17348_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17348_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17348, 1, 'mob17348_Action')
RegisterUnitEvent(17348, 2, 'mob17348_Leave')
RegisterUnitEvent(17348, 3, 'mob17348_Kill')
RegisterUnitEvent(17348, 4, 'mob17348_Die')
